home *** CD-ROM | disk | FTP | other *** search
- Path: news.sprintlink.net!datalytics!usenet
- From: Rob Stewart <stew@datalytics.com>
- Newsgroups: comp.lang.c++
- Subject: Re: New Beginner for Visual C++ - Question
- Date: Wed, 17 Apr 1996 00:26:04 -0400
- Organization: Datalytics, Inc.
- Message-ID: <317472DC.2458@datalytics.com>
- References: <doug-1304962242380001@port4.lightlink.com> <4krk2p$8mt@reader2.ix.netcom.com>
- NNTP-Posting-Host: 204.62.224.241
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (WinNT; I)
-
- Patrick Wallin wrote:
- >
- > Hello!
- >
- > I am a beginner and learner for Visual C++ Version 1.5. I know C++ and
- > some concept of windows programming, but although I have a question
- > that I may be blind at that moment.
- >
- > When I created a blink windows (for just starting), I looked through
- > the source and header files. The class of CExampleView is a derived of
- > base class CView. I do not see any "include" file for CView in the
- > header file for the class CExampleView.
- >
- > For example, the following line of code is in the header file that does
- > not have any "includes" file for CView:
- > Class CExampleView : public CView
- >
- > Can you please tell me where CView class is? And how did Visual C++
- > know when to call CView default (own) class?
-
- VC configures a file, stdafx.h, in each project you create with
- AppWizard that includes the common headers. Then, Microsoft
- opts to include the required headers, including stdafx.h, in the
- .cpp files. It's not the right way, it's just the Microsoft
- way.
-
- --
- Rob Stewart | My opinions are generally my own. They do
- Datalytics, Inc.| not necessarily reflect those of my employer.
-